Why am I getting list index out of range error with my nested lists in Python

join shbcf.ru